package com.jd.dao;

import java.util.List;

/**
 * Created by Administrator on 2017/9/19/019.
 */
public interface BaseDao<T> {
    T findOne(Integer id);

    List<T> findAll();

    List<T> findByExample(T t);

    int save(T t);

    int update(T t);

    int delete(Integer id);

}
